package Extends02;

/**
 * 小猫
 */


public class Cats extends CatsAnimals{
    public Cats(){}
    public Cats(String name,String color,int age) {
        super(name, color, age);
    }
    /**
     * 抓老鼠
     */

    public void catchingmice(){
        System.out.println("那只叫"+this.getName()+"的"+this.getColor()+"猫正在抓老鼠");
    }
}
